/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package jmenu.gui;

import java.awt.Color;
import java.awt.Cursor;
import javax.swing.JLabel;
import javax.swing.event.MouseInputListener;

/**
 *
 * @author Boner
 */
public class LinkJLabel extends JLabel implements MouseInputListener{

    public LinkJLabel()
    {
        super();
    }

    public void mouseClicked(java.awt.event.MouseEvent e) {
    }

    public void mousePressed(java.awt.event.MouseEvent e) {
    }

    public void mouseReleased(java.awt.event.MouseEvent e) {
    }

    public void mouseEntered(java.awt.event.MouseEvent e) {
    }

    public void mouseExited(java.awt.event.MouseEvent e) {
        this.setForeground(Color.BLACK);
    }

    public void mouseDragged(java.awt.event.MouseEvent e) {
    }

    public void mouseMoved(java.awt.event.MouseEvent e) {
        this.setForeground(Color.ORANGE);
        this.setCursor(new Cursor(Cursor.HAND_CURSOR));
    }

}
